package com.kitty.game.task.model.product.targetparam;

import com.kitty.game.task.model.product.TaskTargetParam;
import org.nutz.lang.util.NutMap;

public class RoleLevelUpTargetParam extends TaskTargetParam {
    /**提升到多少级*/
    private short level;

    @Override
    public TaskTargetParam parseParam(NutMap nutMap) {
        level = (short) nutMap.getInt("level");
        return this;
    }

    public short getLevel() {
        return level;
    }
}
